#pragma once
#include "singleton.h"
#include <map>

class CKeyString:public Singleton<CKeyString>
{
    typedef std::map<DWORD, CString> MapKeyStr;
    MapKeyStr m_Datas;
public:
    enum
    {
        Key_Ntdll = 0,
        Key_Kernaldll,
        Key_ZwQueryVirtualMemory,
    };
    CKeyString();

    CString GetString(DWORD key);
    CStringA GetStrA(DWORD key);
};

#define KEY_STR(T) CKeyString::getSingleton().GetString(CKeyString::T)
#define KEY_STRANSI(T) CKeyString::getSingleton().GetStrA(CKeyString::T)